package top.zywork.service;

import org.apache.ibatis.annotations.Param;

/**
 * GoodsAgentService服务接口<br/>
 *
 * 创建于2019-07-24<br/>
 *
 * @author http://zywork.top 王振宇
 * @version 1.0
 */
public interface GoodsAgentService extends BaseService {

    /**
     * 根据其他关联主键更新激活状态
     * @param shopId 店铺id
     * @param goodsId 商品id
     * @param goodsSkuId 商品sku的id
     * @param isActive 状态
     * @return
     */
    int updateActiveByOtherId(Long shopId, Long goodsId, Long goodsSkuId, byte isActive);
}
